<template>
  <d2-container :filename="filename">
    <template slot="header">Page 1 header</template>

    <el-row>
      <el-col span="12">
        <base-client-info>
        </base-client-info>
      </el-col>
      <el-col span="10" offset="1">
        <client-description></client-description>
      </el-col>
    </el-row>

  </d2-container>
</template>

<script>
import Vue from "vue";
import BaseClientInfo from "./BaseClientInfo.vue";
import ClientDescription from "./ClientDescription.vue";

export default {
  name: "client-create",
  data() {
    return {
      filename: __filename,
      /**请求接口返回 */
      paged: {}
    };
  },
  components: {
    "base-client-info": BaseClientInfo,
    "client-description": ClientDescription
  },
  methods: {
    getClientList: function() {
      GetClientList().then(paged => (this.paged = paged));
    }
  },
  created() {
    this.getClientList();
  }
};
</script>
